﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// PB_ProcecureMain
    /// </summary>
    [Table("PB_ProcecureMain")]
    public partial class PB_ProcecureMain
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 工艺编号
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 工艺名称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 组织编码
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 版本说明
        /// </summary>
        public String Remarks { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        public Int32? Version { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 审核状态：0=待审核；1-审核通过；2-打回
        /// </summary>
        public Boolean Status { get; set; }

        /// <summary>
        /// 版本状态：0=旧版本；1=当前版本
        /// </summary>
        public Boolean VerState { get; set; }
        /// <summary>
        /// 图纸 图号
        /// </summary>
        public String ImgSrc { get; set; }
        /// <summary>
        /// 图号
        /// </summary>
        public String ImgCode { get; set; }

    }
}